
showFormMessage = function (message, color) {

	if (color === undefined) {
		color = 'blue';
	}

	var data = escape(color + '|' + message);

	Xrm.Page.getControl('WebResource_message').setSrc('/WebResources/cei_message.htm?data=' + data);
	Xrm.Page.getControl('WebResource_message').setVisible(true);
};

hideFormMessage = function () {
	Xrm.Page.getControl('WebResource_message').setVisible(false);
}
